# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:       王景渊  
# Name:         17.24
# Description:
# Author:       dell
# Date:         2019/5/11
#-------------------------------------------------------------------------------
import _thread as thread

#获取页面
def get_page_html(url,lock):
    # todo
    lock.release()

#解析页面
def parse_page(txt,lock):
    # todo
    lock.release()

#保存数据
def save_data(data,lock):
    # todo
    lock.release()

def main():
    lock1 = thread.allocate_lock()
    lock1.acquire()

    url = ''
    thread.start_new_thread()